package com.fortune.dal.dao;

import com.fortune.dal.model.CreditCardType;
import com.fortune.dal.model.CustCertInfo;

import java.util.List;

public interface CreditCardTypeDAO {

    void insert(CreditCardType creditCardType) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(CreditCardType creditCardType) throws Exception;

    List<CreditCardType> queryByModel(CreditCardType creditCardType) throws Exception;

    CreditCardType queryById(Integer id) throws Exception;
}
